package cn.itsource.hrm.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author jinhui
 * @version V1.0.0
 * @date 2020/5/24
 */

@FeignClient(name ="REDIS-SERVICE" )
public interface RedisClient {
    @GetMapping("/set")
    void set(@RequestParam("key")String key, @RequestParam("value")String value);
    @GetMapping("/get")
    String get(@RequestParam("key")String key);



}

